treat the MYSQL_FIELD as read-only
authorDebian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Sun, 14 Nov 2021 13:34:39 +0000 (13:34 +0000)
committerDmitry Shachnev <mitya57@debian.org>
Sun, 14 Nov 2021 13:34:39 +0000 (13:34 +0000)
commit49b11b7bcc3c52cba21fa0b05ba0ba580bca6f3a
tree14050addfc804177ba12007a5cec434b724422da
parent48d10fe5d9829bc3e93ba26577ae2a30982cc8e8
treat the MYSQL_FIELD as read-only

Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=549ee216fd5bf2b3
Last-Update: 2021-11-13

The MariaDB-connector-c version 3.2 and MariaDB server version 10.6
cooperate to avoid re-transferring the query metadata, so the fact that
we were modifying it was causing it to improperly decode the DATETIME
data types into string, as we had asked. We ended up with a 7-byte
string that was actually the date binary-encoded.

Gbp-Pq: Name mysql_field_readonly.diff
src/plugins/sqldrivers/mysql/qsql_mysql.cpp